/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yazdankhah.tests;

import org.richfaces.model.TreeNodeImpl;

/**
 *
 * @author ahmad
 */
public class RichFacesTreeNode extends TreeNodeImpl {

  private String data;


  public RichFacesTreeNode(String data) {
    super();
    this.data = data;
  }


  public String getData() {
    return data;
  }


  public void setData(String data) {
    this.data = data;
  }


  @Override
  public String toString() {
    return data;
  }

}
